#ifndef TABLEAUWIDGET_H
#define TABLEAUWIDGET_H

#include <QWidget>
#include <QBrush>

class TableauWidget : public QWidget
{
  Q_OBJECT

public:
  TableauWidget(QWidget* parent = 0);

public slots:
  void setBackground(const QColor& c);

protected:
  virtual void paintEvent(QPaintEvent *event);

private:
  QBrush mBrush;
};

#endif
